package com.pt.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pt.common.annotation.Excel;
import com.pt.common.core.domain.BaseEntity;

/**
 * 学生作业对象 student_homework
 * 
 * @author ruoyi
 * @date 2025-02-28
 */
public class studentHomework extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentID;
    @Excel(name = "评语")
    private String comment;

    public Long getStudentID() {
        return studentID;
    }

    public void setStudentID(Long studentID) {
        this.studentID = studentID;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Long getHomeworkID() {
        return homeworkID;
    }

    public void setHomeworkID(Long homeworkID) {
        this.homeworkID = homeworkID;
    }

    public String getCodeUrl() {
        return codeUrl;
    }

    public void setCodeUrl(String codeUrl) {
        this.codeUrl = codeUrl;
    }

    public String getWordUrl() {
        return wordUrl;
    }

    public void setWordUrl(String wordUrl) {
        this.wordUrl = wordUrl;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Long getScores() {
        return scores;
    }

    public void setScores(Long scores) {
        this.scores = scores;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    /** 作业id */
    @Excel(name = "作业id")
    private Long homeworkID;

    public studentHomework() {
    }

    /** 代码文件 */
    @Excel(name = "代码文件")
    private String codeUrl;
    private String wordUrl;

    public studentHomework(Long studentID, String comment, Long homeworkID, String codeUrl, String wordUrl, Date startTime, Long scores, Long status) {
        this.studentID = studentID;
        this.comment = comment;
        this.homeworkID = homeworkID;
        this.codeUrl = codeUrl;
        this.wordUrl = wordUrl;
        this.startTime = startTime;
        this.scores = scores;
        this.status = status;
    }

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 分数 */
    @Excel(name = "分数")
    private Long scores;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;}



